<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./animate.css">
  <style>
    div {
      width: 200px;
      height: 100px;
      background: #000;
      margin: 0 auto;
      animation-iteration-count: infinite;
    }
  
    ul {
      padding: 0;
      margin: 0;
    }
    li {
      display: inline-block;
      padding: 10px;
    }
    li:hover {
      animation: heartBeat 2s;
    }
  </style>
</head>
<body>
  <!-- https://daneden.github.io/animate.css/ -->
  <!-- <div class="animated jello"></div> -->
  <ul>
    <li>菜单项1</li>
    <li>菜单项2</li>
    <li>菜单项3</li>
    <li>菜单项4</li>
    <li>菜单项5</li>
  </ul>
</body>
</html>